package com.yxw.springmvc.userBehavior.enums;

import lombok.Getter;

/**
 * Created by hp on 2016/9/23.
 */
public enum RandomCodeStatEnum {
    /**
     * 有效
     */
    NORMAL("NORMAL", "有效"),
    /**
     * 过期
     */
    EXPIRED("EXPIRED", "过期"),
    /**
     * 无效
     */
    INVALID("INVALID", "无效"),;

    @Getter
    private String code;

    @Getter
    private String desc;

    private RandomCodeStatEnum(String code, String desc) {
        this.code = code;
        this.desc = desc;
    }

}
